package com.wyw.hemerocallis.repository;

import com.wyw.hemerocallis.entity.HemerocallisBalance;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * 余额repository
 *
 * @author Mr Wu    yewen.wu.china@gmail.com
 * <p>
 * Update History:
 * Author        Time            Content
 */
@Repository
public interface HemerocallisBalanceRepository extends JpaRepository<HemerocallisBalance, Long> {
    /** 根据 userId 查询 HemerocallisBalance 对象 */
    HemerocallisBalance findByUserId(Long userId);

}
